package com.itheima.d10_fight_landowner;

/**
 * 扑克牌类：封装数据，属性：花色，点数
 */
public class Card {

    private String color; //花色
    private String point; //点数
    private int  size;    //牌的大小


    @Override
    public String toString() {
        return color+point;
    }

    public Card() {
    }

    public Card(String color, String point, int size) {
        this.color = color;
        this.point = point;
        this.size = size;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
